package F;

import javax.naming.Name;

/**
 * 运动员
 */
public abstract class Athlete {
    private String Name;
    private int age;
    public Athlete(){}
    public Athlete(String name,int age){
        this.Name = name;
        this.age = age;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
